package cn.jianyongjie.org.domain;

import cn.jianyongjie.basic.domain.BaseDomain;
import cn.jianyongjie.system.domain.Role;
import cn.jianyongjie.user.domain.Logininfo;
import lombok.Data;

/**
* @Description: 员工类
* @Author: Jian Yongjie
* @Version: 1.0
* @Date:  2022/4/19 18:46  
*/
@Data
public class Employee extends BaseDomain {

    // 员工姓名
    private String username;
    // 员工电话
    private String phone;
    // 员工邮件
    private String email;
    // 员工盐值
    private String salt;
    // 员工密码
    private String password;
    // 员工年龄
    private Integer age;
    // 员工状态
    private Integer state;
    // 员工所属部门ID
    private Long department_id;
    // 登录信息ID
    private Long logininfo_id;
    // 店铺ID，为空=平台管理员，不为空=店铺管理员
    private Long shop_id;
    // 员工所属部门
    private Department department;
    // 查询登录信息
    private Logininfo logininfo;
    // 两次密码
    private String comfirmPassword;

    private Role roles;

}
